/**
 * 
 */
package uniandes.dermatologia.resources.models;

import org.droidpersistence.annotation.Column;
import org.droidpersistence.annotation.ForeignKey;
import org.droidpersistence.annotation.PrimaryKey;
import org.droidpersistence.annotation.Table;

/**
 * @author Julio
 *
 */
@Table(name="OPTION")
public class OptionModel {
	
	@PrimaryKey
	@Column(name="ID")
	private long id;
	
	@Column(name="CONTENT")
	private String content;
	
	@Column(name="QUESTION_ID")
	@ForeignKey(tableReference="QUESTION", onDeleteCascade=true, columnReference="ID")
	private long question_id;

	/**
	 * @return the id
	 */
	public long getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(long id) {
		this.id = id;
	}

	/**
	 * @return the content
	 */
	public String getContent() {
		return content;
	}

	/**
	 * @param content the content to set
	 */
	public void setContent(String content) {
		this.content = content;
	}

	/**
	 * @return the question_id
	 */
	public long getQuestion_id() {
		return question_id;
	}

	/**
	 * @param question_id the question_id to set
	 */
	public void setQuestion_id(long question_id) {
		this.question_id = question_id;
	}
	
	
	
}
